﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Evoucher.WebApp
{
    public partial class Error : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                Exception ex = Server.GetLastError();

                if (ex == null)
                    return;


                System.Diagnostics.Trace.TraceError("Error in Application: " + ex.ToString());
            }
        }
    }
}